package com.itheima.mapper;

import com.itheima.pojo.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {
    /**
     * 分类列表
     */
    @Select("select * from type")
    List<Type> selectType();
}
